package com.myz.cloud.stream.rocketmq.header;

import com.myz.cloud.stream.rocketmq.header.producer.HeaderProducerManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class RocketmqBinderHeaderApplication {

    public static void main(String[] args) {
        SpringApplication.run(RocketmqBinderHeaderApplication.class, args);
    }

    @Bean
    public HeaderProducerManager headerProducerManager() {
        return new HeaderProducerManager();
    }

}
